<%--
  Created by IntelliJ IDEA.
  User: Lenovo
  Date: 2016/8/28
  Time: 13:55
  To change this template use File | Settings | File Templates.
--%>
<!DOCTYPE html>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<%
    String ctxpath = request.getContextPath();
%>

<html lang="en" class="no-js">

<head>

    <meta charset="utf-8">
    <title>登录</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">

    <!-- CSS -->
    <link rel="stylesheet" href="<%=ctxpath%>/login/assets/css/reset.css">
    <link rel="stylesheet" href="<%=ctxpath%>/login/assets/css/supersized.css">
    <link rel="stylesheet" href="<%=ctxpath%>/login/assets/css/style.css">
    <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
    <script src="<%=ctxpath%>/static/v3/html5shiv.min.js"></script>
    <![endif]-->
    <script language="JavaScript" src="<%=ctxpath%>/static/bootstrap-3.3.5-dist/js/jquery.min.js"></script>
    <script type="text/javascript">

    </script>

</head>
<script src="<%=ctxpath%>/static/v3/assets/js/jPages.js"></script>

<script language="JavaScript" src="<%=ctxpath%>/login/statuslogin.js"></script>

<body>
<%--method="post" action="<%=ctxpath%>/login/logincheck.wm"--%>
<div class="page-container">
        <h1 style="font-weight: bold">作业管理系统</h1>
    <form id="form1" method="post" onsubmit="return check()">

        <input type="text" name="username" id="username" class="username input" placeholder="用户名">

        <input type="password" name="password" id="password" class="password input" placeholder="密码">

        <input type="text" class="username input" name="securitycode" id="securitycode" placeholder="验证码">
        <span style="display: none;color:red" id="tipPass" >验证码输入错误</span>
        <div class="pictureCode">
            <img id="img" src="<%=ctxpath%>/pass/yanzhengma.wm"/>

            <a href = "javascript:void(0);" style = "font-size: 13px;margin-left: 5px;" onclick = "myReload()">看不清换一张&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a>
        </div>
        <div class="setStatus" id="setStatus">
            <input  class="shenfen" type="radio" id="teacher" name="status" value="teacher"/>教师
            <span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
            <input class="shenfen" type="radio" id="student" name="status" value="student"/>学生
        </div>
        <button id="loginSub" type="button" >登录</button>
        <div class="error"><span>+</span></div>   <%--后面添加return false是为了防止表单自动提交--%>
    </form>
    <div class="connect">
        <a href="<%=ctxpath%>/student/studentRegTemp.jsp">学生注册</a>
        <a href="<%=ctxpath%>/teacher/teacherRegTemp.jsp">教师注册</a>
    </div>
</div>
<!-- Javascript -->
<script src="<%=ctxpath%>/login/assets/js/jquery-1.8.2.min.js"></script>
<script src="<%=ctxpath%>/login/assets/js/supersized.3.2.7.min.js"></script>
<script src="<%=ctxpath%>/login/assets/js/supersized-init.js"></script>
<script src="<%=ctxpath%>/login/assets/js/scripts.js"></script>

</body>

</html>
